x86: cleanup usage of nmi_watchdog
authorBoris Ostrovsky <boris.ostrovsky@oracle.com>
Tue, 3 Feb 2015 10:29:28 +0000 (11:29 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 3 Feb 2015 10:29:28 +0000 (11:29 +0100)
commit2c2fbca65a78cbdf05c36a7acd8b201549074458
tree938d234b9bf25e01e8614c15ffb103c8be7fae2b
parent8fe99c468d977ee077ef064618973e0aca578117
x86: cleanup usage of nmi_watchdog

Use NMI_NONE when testing whether NMI watchdog is off.

Remove unused NMI_INVALID macro.

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/nmi.c
xen/arch/x86/traps.c
xen/include/asm-x86/apic.h